package com.huashiai.videocall.controller;

import com.onlyxiahui.aware.common.auth.annotation.PermissionMapping;
import com.onlyxiahui.aware.common.auth.type.PermissionType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author: xchb
 * @date: 2021/4/23 11:07
 * @description:
 */
@RestController
@RequestMapping("/huashi/video")
public class VideoController {


    @RequestMapping("/test")
    @PermissionMapping(type = PermissionType.skip)
    public String test(){
        return "TEST: "+new Date();
    }
}
